package com.ambow.shop.domain;

import java.util.Date;

/**
 * 用户实体类。
 * 
 * @author deng.zhao
 *
 */
public class User {
	// 用户编号；
	private int id;
	// 用户名称；
	private String name;
	// 用户邮箱；
	private String email;
	// 用户密码；
	private String password;
	// 用户注册时间；
	private Date createTime;

	public User() {
		super();
	}

	public User(int id, String name, String email, String password, Date createTime) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		this.password = password;
		this.createTime = createTime;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", email=" + email + ", password=" + password + ", createTime="
				+ createTime + "]";
	}

}
